package org.item.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.item.common.bean.SysMenu;
@Mapper
public interface MenuMapper extends BaseMapper<SysMenu> {
    @Select("select * from sys_menu where id in(select mean_id from sys_permission where id = #{permid})")
    SysMenu getMeanByPermId( @Param("permid") Integer permid);
}
